1 /*
2 * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.accessibility;
27
28 import java.util.ListResourceBundle;
29
30 /**
31 * A resource bundle containing the localized strings in the accessibility
32 * package. This is meant only for internal use by Java Accessibility and
33 * is not meant to be used by assistive technologies or applications.
34 *
35 * @author Willie Walker
36 * @deprecated This class is deprecated as of version 1.3 of the
37 * Java Platform.
38 */
39 @Deprecated
40 public class AccessibleResourceBundle extends ListResourceBundle {
41
42 /**
43 * Returns the mapping between the programmatic keys and the
44 * localized display strings.
45 */
46 public Object[][] getContents() {
47 // The table holding the mapping between the programmatic keys
48 // and the display strings for the en_US locale.
49 return new Object[][] {
50
51 // LOCALIZE THIS
52 // Role names
53 // { "application","application" },
54 // { "border","border" },
55 // { "checkboxmenuitem","check box menu item" },
56 // { "choice","choice" },
57 // { "column","column" },
58 // { "cursor","cursor" },
59 // { "document","document" },
60 // { "grouping","grouping" },
61 // { "image","image" },
62 // { "indicator","indicator" },
63 // { "radiobuttonmenuitem","radio button menu item" },
64 // { "row","row" },
65 // { "tablecell","table cell" },
66 // { "treenode","tree node" },
67 { "alert","alert" },
68 { "awtcomponent","AWT component" },
69 { "checkbox","check box" },
70 { "colorchooser","color chooser" },
71 { "columnheader","column header" },
72 { "combobox","combo box" },
73 { "canvas","canvas" },
74 { "desktopicon","desktop icon" },
75 { "desktoppane","desktop pane" },
76 { "dialog","dialog" },
77 { "directorypane","directory pane" },
78 { "glasspane","glass pane" },
79 { "filechooser","file chooser" },
80 { "filler","filler" },
81 { "frame","frame" },
82 { "internalframe","internal frame" },
83 { "label","label" },
84 { "layeredpane","layered pane" },
85 { "list","list" },
86 { "listitem","list item" },
87 { "menubar","menu bar" },
88 { "menu","menu" },
89 { "menuitem","menu item" },
90 { "optionpane","option pane" },
91 { "pagetab","page tab" },
92 { "pagetablist","page tab list" },
93 { "panel","panel" },
94 { "passwordtext","password text" },
95 { "popupmenu","popup menu" },
96 { "progressbar","progress bar" },
97 { "pushbutton","push button" },
98 { "radiobutton","radio button" },
99 { "rootpane","root pane" },
100 { "rowheader","row header" },
101 { "scrollbar","scroll bar" },
102 { "scrollpane","scroll pane" },
103 { "separator","separator" },
104 { "slider","slider" },
105 { "splitpane","split pane" },
106 { "swingcomponent","swing component" },
107 { "table","table" },
108 { "text","text" },
109 { "tree","tree" },
110 { "togglebutton","toggle button" },
111 { "toolbar","tool bar" },
112 { "tooltip","tool tip" },
113 { "unknown","unknown" },
114 { "viewport","viewport" },
115 { "window","window" },
116 // Relations
117 { "labelFor","label for" },
118 { "labeledBy","labeled by" },
119 { "memberOf","member of" },
120 { "controlledBy","controlledBy" },
121 { "controllerFor","controllerFor" },
122 // State modes
123 { "active","active" },
124 { "armed","armed" },
125 { "busy","busy" },
126 { "checked","checked" },
127 { "collapsed", "collapsed" },
128 { "editable","editable" },
129 { "expandable", "expandable" },
130 { "expanded", "expanded" },
131 { "enabled","enabled" },
132 { "focusable","focusable" },
133 { "focused","focused" },
134 { "iconified", "iconified" },
135 { "modal", "modal" },
136 { "multiline", "multiple line" },
137 { "multiselectable","multiselectable" },
138 { "opaque", "opaque" },
139 { "pressed","pressed" },
140 { "resizable", "resizable" },
141 { "selectable","selectable" },
142 { "selected","selected" },
143 { "showing","showing" },
144 { "singleline", "single line" },
145 { "transient", "transient" },
146 { "visible","visible" },
147 { "vertical","vertical" },
148 { "horizontal","horizontal" }
149 // END OF MATERIAL TO LOCALIZE
150 };
151 }
152 }